//检查页面是否单独在窗口打开
jQuery.extend({
    isIframe:function () {
        if (self.frameElement && self.frameElement.tagName == "IFRAME") {
            // alert('在iframe中');
        }else{
            window.location.href="../login.html";
        }
    }
});